#include<iostream>
using namespace std;

int main()
{
	int m, t, s;
	cin >> m >> t >> s;
	if (t == 0)
	{
		cout << '0' << endl;
	}
	else
	{
		if ((s / t) > m)
		{
			cout << '0' << endl;
		}
		else
		{
			if (s % t == 0)
			{
				cout << m - s / t << endl;
			}
			else
			{
				cout << (m - s / t) - 1 << endl;
			}
		}
	}

	return 0;
}